package net.qiqbframework.commandhandling;

import net.qiqbframework.messaging.ResultMessage;

import javax.annotation.Nonnull;
import java.util.Map;

/**
 * 命令结果消息
 */
public interface CommandResultMessage<R> extends ResultMessage<R> {

    @Override
    void withMetaData(@Nonnull Map<String, ?> metaData);

    @Override
    void andMetaData(@Nonnull Map<String, ?> metaData);
}
